<template>
  <view class="file">
    <web-view src="/hybrid/html/local.html" @message="onMessage"></web-view>
  </view>
</template>

<script setup>
function onMessage(e) {
  // console.log(e.detail.data[0].file)
  uni.$emit('sendFileData', e.detail.data[0].file)
}
</script>

<style lang="scss" scoped></style>
